﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QueryAB3Admin.aspx.cs" Inherits="Manageweb_Member_QueryAB3Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>查看会员购买明细</title>
    <link href="../images/css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">        dateFormat = 'yyyy-mm-dd'</script>

    <script src="../../js/popcalendar.js" type="text/javascript"></script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <table id="TABLE_Add_Mod" border="1" cellpadding="0" cellspacing="0" width="650"
        style="margin: 0 auto">
        <tr>
            <td colspan="2" style="font-weight: bold; color: white; background-color: #507cd1;
                text-align: left">
                查看会员<span lang="zh-cn">交易</span>记录
            </td>
        </tr>
        <tr>
            <td style="width: 150px">
                &nbsp;<span lang="zh-cn"> </span>&nbsp;<span lang="zh-cn">会员</span>账号:
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtUserAccount" runat="server" Width="240px" Height="18px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 150px">
                批次:
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="ddlPiCi" runat="server" Width="120px">
                    <asp:ListItem Value="pbin">预购</asp:ListItem>
                    <asp:ListItem Value="cpbin">取消预购</asp:ListItem>
                    <asp:ListItem Value="psout">待售</asp:ListItem>
                    <asp:ListItem Value="cpsout">取消待售</asp:ListItem>
                    <asp:ListItem Value="bdin">买入明细</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <span lang="zh-cn">&nbsp; 开始日期:</span>
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtBeginDate" runat="server" Width="240px"></asp:TextBox>
                <img style="cursor: hand;" src="../../js/img/calendar.gif" onclick='popUpCalendar(this,  <%=txtBeginDate.ClientID %>, dateFormat,-1,-1)'
                    alt='Select'>
            </td>
        </tr>
        <tr>
            <td>
                <span lang="zh-cn">&nbsp;</span>&nbsp;<span lang="zh-cn">结束日期:</span>
            </td>
            <td style="text-align: left">
                <asp:TextBox ID="txtEndDate" runat="server" Width="240px"></asp:TextBox>
                <img style="cursor: hand;" src="../../js/img/calendar.gif" onclick='popUpCalendar(this,  <%=txtEndDate.ClientID %>, dateFormat,-1,-1)'
                    alt='Select'>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-weight: bold; color: white; background-color: #507cd1">
                <asp:Button ID="Btn_Submit" runat="server" Text="查询" OnClick="Btn_Submit_Click" Style="width: 38px" />&nbsp;<asp:Button
                    ID="Btn_Cancel" runat="server" Text="取消" />
            </td>
        </tr>
    </table>
    <br />
    <table width="650px" style="margin: 0 auto">
        <tr>
            <td>
                <asp:GridView ID="GV_UserList" runat="server" AllowPaging="True" AllowSorting="True"
                    AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" Width="650px"
                    EmptyDataText="暂无数据" OnPageIndexChanging="GV_UserList_PageIndexChanging" PageSize="18">
                    <Columns>
                        <asp:BoundField DataField="usercode" HeaderText="会员账号">
                            <ItemStyle Width="120px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="username" HeaderText="会员账号"></asp:BoundField>
                        <asp:BoundField DataField="count" HeaderText="数量"></asp:BoundField>
                        <%--  <asp:BoundField DataField="dealcount" HeaderText="成交数量" />--%>
                        <asp:BoundField DataField="price" HeaderText="价格" />
                        <asp:BoundField DataField="createtime" HeaderText="日期">
                            <ItemStyle Width="100px" />
                            <ItemStyle Width="180px" />
                        </asp:BoundField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
